home *** CD-ROM | disk | FTP | other *** search
Unknown | 1999-10-20 | 7.9 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 40 7f 2f 2f 3d 3d 3d 3d |........|@.//====|
|00000010| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000020| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000030| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000040| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000050| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 0d 0a 2f 2f 20 55 42 |========|=..// UB|
|00000060| 72 6f 77 73 65 72 53 65 | 72 76 65 72 4c 69 73 74 |rowserSe|rverList|
|00000070| 0d 0a 2f 2f 09 09 53 74 | 6f 72 65 73 20 61 20 73 |..//..St|ores a s|
|00000080| 65 72 76 65 72 20 65 6e | 74 72 79 20 69 6e 20 61 |erver en|try in a|
|00000090| 6e 20 55 6e 72 65 61 6c | 20 53 65 72 76 65 72 20 |n Unreal| Server |
|000000a0| 4c 69 73 74 0d 0a 2f 2f | 3d 3d 3d 3d 3d 3d 3d 3d |List..//|========|
|000000b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000c0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000d0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000e0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000f0| 3d 3d 3d 3d 3d 0d 0a 0d | 0a 63 6c 61 73 73 20 55 |=====...|.class U|
|00000100| 42 72 6f 77 73 65 72 53 | 65 72 76 65 72 4c 69 73 |BrowserS|erverLis|
|00000110| 74 20 65 78 74 65 6e 64 | 73 20 55 57 69 6e 64 6f |t extend|s UWindo|
|00000120| 77 4c 69 73 74 3b 0d 0a | 0d 0a 2f 2f 20 56 61 6c |wList;..|..// Val|
|00000130| 69 64 20 66 6f 72 20 73 | 65 6e 74 69 6e 65 6c 20 |id for s|entinel |
|00000140| 6f 6e 6c 79 0d 0a 76 61 | 72 09 55 42 72 6f 77 73 |only..va|r.UBrows|
|00000150| 65 72 53 65 72 76 65 72 | 4c 69 73 74 57 69 6e 64 |erServer|ListWind|
|00000160| 6f 77 09 4f 77 6e 65 72 | 3b 0d 0a 76 61 72 20 69 |ow.Owner|;..var i|
|00000170| 6e 74 09 09 09 09 09 54 | 6f 74 61 6c 53 65 72 76 |nt.....T|otalServ|
|00000180| 65 72 73 3b 0d 0a 76 61 | 72 20 69 6e 74 09 09 09 |ers;..va|r int...|
|00000190| 09 09 54 6f 74 61 6c 50 | 6c 61 79 65 72 73 3b 0d |..TotalP|layers;.|
|000001a0| 0a 76 61 72 20 69 6e 74 | 09 09 09 09 09 54 6f 74 |.var int|.....Tot|
|000001b0| 61 6c 4d 61 78 50 6c 61 | 79 65 72 73 3b 0d 0a 76 |alMaxPla|yers;..v|
|000001c0| 61 72 20 62 6f 6f 6c 09 | 09 09 09 62 4e 65 65 64 |ar bool.|...bNeed|
|000001d0| 55 70 64 61 74 65 43 6f | 75 6e 74 3b 0d 0a 0d 0a |UpdateCo|unt;....|
|000001e0| 2f 2f 20 43 6f 6e 66 69 | 67 0d 0a 76 61 72 20 63 |// Confi|g..var c|
|000001f0| 6f 6e 66 69 67 20 69 6e | 74 09 09 09 4d 61 78 53 |onfig in|t...MaxS|
|00000200| 69 6d 75 6c 74 61 6e 65 | 6f 75 73 50 69 6e 67 3b |imultane|ousPing;|
|00000210| 0d 0a 0d 0a 2f 2f 20 4d | 61 73 74 65 72 20 73 65 |....// M|aster se|
|00000220| 72 76 65 72 20 76 61 72 | 69 61 62 6c 65 73 0d 0a |rver var|iables..|
|00000230| 76 61 72 20 73 74 72 69 | 6e 67 09 09 09 09 49 50 |var stri|ng....IP|
|00000240| 3b 0d 0a 76 61 72 20 69 | 6e 74 09 09 09 09 09 51 |;..var i|nt.....Q|
|00000250| 75 65 72 79 50 6f 72 74 | 3b 0d 0a 76 61 72 20 73 |ueryPort|;..var s|
|00000260| 74 72 69 6e 67 09 09 09 | 09 43 61 74 65 67 6f 72 |tring...|.Categor|
|00000270| 79 3b 09 09 2f 2f 20 4d | 61 73 74 65 72 20 73 65 |y;..// M|aster se|
|00000280| 72 76 65 72 20 63 61 74 | 65 67 6f 72 69 7a 61 74 |rver cat|egorizat|
|00000290| 69 6f 6e 0d 0a 76 61 72 | 20 73 74 72 69 6e 67 09 |ion..var| string.|
|000002a0| 09 09 09 47 61 6d 65 4e | 61 6d 65 3b 09 09 2f 2f |...GameN|ame;..//|
|000002b0| 20 55 6e 72 65 61 6c 2c | 20 55 6e 72 65 61 6c 20 | Unreal,| Unreal |
|000002c0| 54 6f 75 72 6e 61 6d 65 | 6e 74 0d 0a 0d 0a 2f 2f |Tourname|nt....//|
|000002d0| 20 53 74 61 74 65 20 6f | 66 20 74 68 65 20 70 69 | State o|f the pi|
|000002e0| 6e 67 0d 0a 76 61 72 20 | 55 42 72 6f 77 73 65 72 |ng..var |UBrowser|
|000002f0| 53 65 72 76 65 72 50 69 | 6e 67 09 53 65 72 76 65 |ServerPi|ng.Serve|
|00000300| 72 50 69 6e 67 3b 0d 0a | 76 61 72 20 62 6f 6f 6c |rPing;..|var bool|
|00000310| 09 09 09 09 62 50 69 6e | 67 69 6e 67 3b 0d 0a 76 |....bPin|ging;..v|
|00000320| 61 72 20 62 6f 6f 6c 09 | 09 09 09 62 50 69 6e 67 |ar bool.|...bPing|
|00000330| 46 61 69 6c 65 64 3b 0d | 0a 76 61 72 20 62 6f 6f |Failed;.|.var boo|
|00000340| 6c 09 09 09 09 62 50 69 | 6e 67 65 64 3b 0d 0a 76 |l....bPi|nged;..v|
|00000350| 61 72 20 62 6f 6f 6c 09 | 09 09 09 62 4e 6f 49 6e |ar bool.|...bNoIn|
|00000360| 69 74 61 6c 50 69 6e 67 | 3b 0d 0a 76 61 72 20 62 |italPing|;..var b|
|00000370| 6f 6f 6c 09 09 09 09 62 | 4f 6c 64 53 65 72 76 65 |ool....b|OldServe|
|00000380| 72 3b 0d 0a 0d 0a 2f 2f | 20 52 75 6c 65 73 20 61 |r;....//| Rules a|
|00000390| 6e 64 20 4c 69 73 74 73 | 0d 0a 76 61 72 20 55 42 |nd Lists|..var UB|
|000003a0| 72 6f 77 73 65 72 52 75 | 6c 65 73 4c 69 73 74 09 |rowserRu|lesList.|
|000003b0| 52 75 6c 65 73 4c 69 73 | 74 3b 0d 0a 76 61 72 20 |RulesLis|t;..var |
|000003c0| 55 42 72 6f 77 73 65 72 | 50 6c 61 79 65 72 4c 69 |UBrowser|PlayerLi|
|000003d0| 73 74 20 20 50 6c 61 79 | 65 72 4c 69 73 74 3b 0d |st Play|erList;.|
|000003e0| 0a 76 61 72 20 62 6f 6f | 6c 09 09 09 09 62 4b 65 |.var boo|l....bKe|
|000003f0| 65 70 44 65 73 63 72 69 | 70 74 69 6f 6e 3b 09 2f |epDescri|ption;./|
|00000400| 2f 20 64 6f 6e 27 74 20 | 6f 76 65 72 77 72 69 74 |/ don't |overwrit|
|00000410| 65 20 48 6f 73 74 4e 61 | 6d 65 0d 0a 0d 0a 2f 2f |e HostNa|me....//|
|00000420| 20 55 6e 72 65 61 6c 20 | 73 65 72 76 65 72 20 76 | Unreal |server v|
|00000430| 61 72 69 61 62 6c 65 73 | 0d 0a 76 61 72 20 62 6f |ariables|..var bo|
|00000440| 6f 6c 09 09 09 09 62 4c | 6f 63 61 6c 53 65 72 76 |ol....bL|ocalServ|
|00000450| 65 72 3b 0d 0a 76 61 72 | 20 66 6c 6f 61 74 09 09 |er;..var| float..|
|00000460| 09 09 50 69 6e 67 3b 0d | 0a 76 61 72 20 73 74 72 |..Ping;.|.var str|
|00000470| 69 6e 67 09 09 09 09 48 | 6f 73 74 4e 61 6d 65 3b |ing....H|ostName;|
|00000480| 0d 0a 76 61 72 20 69 6e | 74 09 09 09 09 09 47 61 |..var in|t.....Ga|
|00000490| 6d 65 50 6f 72 74 3b 0d | 0a 76 61 72 20 73 74 72 |mePort;.|.var str|
|000004a0| 69 6e 67 09 09 09 09 4d | 61 70 4e 61 6d 65 3b 0d |ing....M|apName;.|
|000004b0| 0a 76 61 72 20 73 74 72 | 69 6e 67 09 09 09 09 4d |.var str|ing....M|
|000004c0| 61 70 54 69 74 6c 65 3b | 0d 0a 76 61 72 20 73 74 |apTitle;|..var st|
|000004d0| 72 69 6e 67 09 09 09 09 | 4d 61 70 44 69 73 70 6c |ring....|MapDispl|
|000004e0| 61 79 4e 61 6d 65 3b 0d | 0a 76 61 72 20 73 74 72 |ayName;.|.var str|
|000004f0| 69 6e 67 09 09 09 09 47 | 61 6d 65 54 79 70 65 3b |ing....G|ameType;|
|00000500| 0d 0a 76 61 72 20 73 74 | 72 69 6e 67 09 09 09 09 |..var st|ring....|
|00000510| 47 61 6d 65 4d 6f 64 65 | 3b 0d 0a 76 61 72 20 69 |GameMode|;..var i|
|00000520| 6e 74 09 09 09 09 09 4e | 75 6d 50 6c 61 79 65 72 |nt.....N|umPlayer|
|00000530| 73 3b 0d 0a 76 61 72 20 | 69 6e 74 09 09 09 09 09 |s;..var |int.....|
|00000540| 4d 61 78 50 6c 61 79 65 | 72 73 3b 0d 0a 76 61 72 |MaxPlaye|rs;..var|
|00000550| 20 69 6e 74 09 09 09 09 | 09 47 61 6d 65 56 65 72 | int....|.GameVer|
|00000560| 3b 0d 0a 76 61 72 20 69 | 6e 74 09 09 09 09 09 4d |;..var i|nt.....M|
|00000570| 69 6e 4e 65 74 56 65 72 | 3b 0d 0a 0d 0a 66 75 6e |inNetVer|;....fun|
|00000580| 63 74 69 6f 6e 20 44 65 | 73 74 72 6f 79 4c 69 73 |ction De|stroyLis|
|00000590| 74 49 74 65 6d 28 29 20 | 0d 0a 7b 0d 0a 09 4f 77 |tItem() |..{...Ow|
|000005a0| 6e 65 72 20 3d 20 4e 6f | 6e 65 3b 0d 0a 0d 0a 09 |ner = No|ne;.....|
|000005b0| 69 66 28 53 65 72 76 65 | 72 50 69 6e 67 20 21 3d |if(Serve|rPing !=|
|000005c0| 20 4e 6f 6e 65 29 0d 0a | 09 7b 0d 0a 09 09 53 65 | None)..|.{....Se|
|000005d0| 72 76 65 72 50 69 6e 67 | 2e 44 65 73 74 72 6f 79 |rverPing|.Destroy|
|000005e0| 28 29 3b 0d 0a 09 09 53 | 65 72 76 65 72 50 69 6e |();....S|erverPin|
|000005f0| 67 20 3d 20 4e 6f 6e 65 | 3b 0d 0a 09 7d 0d 0a 09 |g = None|;...}...|
|00000600| 53 75 70 65 72 2e 44 65 | 73 74 72 6f 79 4c 69 73 |Super.De|stroyLis|
|00000610| 74 49 74 65 6d 28 29 3b | 0d 0a 7d 0d 0a 0d 0a 66 |tItem();|..}....f|
|00000620| 75 6e 63 74 69 6f 6e 20 | 51 75 65 72 79 46 69 6e |unction |QueryFin|
|00000630| 69 73 68 65 64 28 55 42 | 72 6f 77 73 65 72 53 65 |ished(UB|rowserSe|
|00000640| 72 76 65 72 4c 69 73 74 | 46 61 63 74 6f 72 79 20 |rverList|Factory |
|00000650| 46 61 63 74 2c 20 62 6f | 6f 6c 20 62 53 75 63 63 |Fact, bo|ol bSucc|
|00000660| 65 73 73 2c 20 6f 70 74 | 69 6f 6e 61 6c 20 73 74 |ess, opt|ional st|
|00000670| 72 69 6e 67 20 45 72 72 | 6f 72 4d 73 67 29 0d 0a |ring Err|orMsg)..|
|00000680| 7b 0d 0a 09 4f 77 6e 65 | 72 2e 51 75 65 72 79 46 |{...Owne|r.QueryF|
|00000690| 69 6e 69 73 68 65 64 28 | 46 61 63 74 2c 20 62 53 |inished(|Fact, bS|
|000006a0| 75 63 63 65 73 73 2c 20 | 45 72 72 6f 72 4d 73 67 |uccess, |ErrorMsg|
|000006b0| 29 3b 0d 0a 7d 0d 0a 0d | 0a 0d 0a 2f 2f 20 46 75 |);..}...|...// Fu|
|000006c0| 6e 63 74 69 6f 6e 73 20 | 66 6f 72 20 73 65 72 76 |nctions |for serv|
|000006d0| 65 72 20 6c 69 73 74 20 | 65 6e 74 72 69 65 73 20 |er list |entries |
|000006e0| 6f 6e 6c 79 2e 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |only...f|unction |
|000006f0| 50 69 6e 67 53 65 72 76 | 65 72 28 62 6f 6f 6c 20 |PingServ|er(bool |
|00000700| 62 49 6e 69 74 69 61 6c | 2c 20 62 6f 6f 6c 20 62 |bInitial|, bool b|
|00000710| 4a 75 73 74 54 68 69 73 | 53 65 72 76 65 72 2c 20 |JustThis|Server, |
|00000720| 62 6f 6f 6c 20 62 4e 6f | 53 6f 72 74 29 0d 0a 7b |bool bNo|Sort)..{|
|00000730| 0d 0a 09 2f 2f 20 43 72 | 65 61 74 65 20 74 68 65 |...// Cr|eate the|
|00000740| 20 55 64 70 4c 69 6e 6b | 20 74 6f 20 70 69 6e 67 | UdpLink| to ping|
|00000750| 20 74 68 65 20 73 65 72 | 76 65 72 0d 0a 09 53 65 | the ser|ver...Se|
|00000760| 72 76 65 72 50 69 6e 67 | 20 3d 20 47 65 74 50 6c |rverPing| = GetPl|
|00000770| 61 79 65 72 4f 77 6e 65 | 72 28 29 2e 47 65 74 45 |ayerOwne|r().GetE|
|00000780| 6e 74 72 79 4c 65 76 65 | 6c 28 29 2e 53 70 61 77 |ntryLeve|l().Spaw|
|00000790| 6e 28 63 6c 61 73 73 27 | 55 42 72 6f 77 73 65 72 |n(class'|UBrowser|
|000007a0| 53 65 72 76 65 72 50 69 | 6e 67 27 29 3b 0d 0a 09 |ServerPi|ng');...|
|000007b0| 53 65 72 76 65 72 50 69 | 6e 67 2e 53 65 72 76 65 |ServerPi|ng.Serve|
|000007c0| 72 20 3d 20 53 65 6c 66 | 3b 0d 0a 09 53 65 72 76 |r = Self|;...Serv|
|000007d0| 65 72 50 69 6e 67 2e 53 | 74 61 72 74 51 75 65 72 |erPing.S|tartQuer|
|000007e0| 79 28 27 47 65 74 49 6e | 66 6f 27 2c 20 32 29 3b |y('GetIn|fo', 2);|
|000007f0| 0d 0a 09 53 65 72 76 65 | 72 50 69 6e 67 2e 62 49 |...Serve|rPing.bI|
|00000800| 6e 69 74 69 61 6c 20 3d | 20 62 49 6e 69 74 69 61 |nitial =| bInitia|
|00000810| 6c 3b 0d 0a 09 53 65 72 | 76 65 72 50 69 6e 67 2e |l;...Ser|verPing.|
|00000820| 62 4a 75 73 74 54 68 69 | 73 53 65 72 76 65 72 20 |bJustThi|sServer |
|00000830| 3d 20 62 4a 75 73 74 54 | 68 69 73 53 65 72 76 65 |= bJustT|hisServe|
|00000840| 72 3b 0d 0a 09 53 65 72 | 76 65 72 50 69 6e 67 2e |r;...Ser|verPing.|
|00000850| 62 4e 6f 53 6f 72 74 20 | 3d 20 62 4e 6f 53 6f 72 |bNoSort |= bNoSor|
|00000860| 74 3b 0d 0a 09 62 50 69 | 6e 67 69 6e 67 20 3d 20 |t;...bPi|nging = |
|00000870| 54 72 75 65 3b 0d 0a 7d | 0d 0a 0d 0a 66 75 6e 63 |True;..}|....func|
|00000880| 74 69 6f 6e 20 53 65 72 | 76 65 72 53 74 61 74 75 |tion Ser|verStatu|
|00000890| 73 28 29 0d 0a 7b 0d 0a | 09 2f 2f 20 43 72 65 61 |s()..{..|.// Crea|
|000008a0| 74 65 20 74 68 65 20 55 | 64 70 4c 69 6e 6b 20 74 |te the U|dpLink t|
|000008b0| 6f 20 70 69 6e 67 20 74 | 68 65 20 73 65 72 76 65 |o ping t|he serve|
|000008c0| 72 0d 0a 09 53 65 72 76 | 65 72 50 69 6e 67 20 3d |r...Serv|erPing =|
|000008d0| 20 47 65 74 50 6c 61 79 | 65 72 4f 77 6e 65 72 28 | GetPlay|erOwner(|
|000008e0| 29 2e 47 65 74 45 6e 74 | 72 79 4c 65 76 65 6c 28 |).GetEnt|ryLevel(|
|000008f0| 29 2e 53 70 61 77 6e 28 | 63 6c 61 73 73 27 55 42 |).Spawn(|class'UB|
|00000900| 72 6f 77 73 65 72 53 65 | 72 76 65 72 50 69 6e 67 |rowserSe|rverPing|
|00000910| 27 29 3b 0d 0a 09 53 65 | 72 76 65 72 50 69 6e 67 |');...Se|rverPing|
|00000920| 2e 53 65 72 76 65 72 20 | 3d 20 53 65 6c 66 3b 0d |.Server |= Self;.|
|00000930| 0a 09 53 65 72 76 65 72 | 50 69 6e 67 2e 53 74 61 |..Server|Ping.Sta|
|00000940| 72 74 51 75 65 72 79 28 | 27 47 65 74 53 74 61 74 |rtQuery(|'GetStat|
|00000950| 75 73 27 2c 20 32 29 3b | 0d 0a 09 62 50 69 6e 67 |us', 2);|...bPing|
|00000960| 69 6e 67 20 3d 20 54 72 | 75 65 3b 0d 0a 7d 0d 0a |ing = Tr|ue;..}..|
|00000970| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 53 74 61 74 75 |..functi|on Statu|
|00000980| 73 44 6f 6e 65 28 62 6f | 6f 6c 20 62 53 75 63 63 |sDone(bo|ol bSucc|
|00000990| 65 73 73 29 0d 0a 7b 0d | 0a 09 2f 2f 20 44 65 73 |ess)..{.|..// Des|
|000009a0| 74 72 6f 79 20 74 68 65 | 20 55 64 70 4c 69 6e 6b |troy the| UdpLink|
|000009b0| 0d 0a 09 53 65 72 76 65 | 72 50 69 6e 67 2e 44 65 |...Serve|rPing.De|
|000009c0| 73 74 72 6f 79 28 29 3b | 0d 0a 09 53 65 72 76 65 |stroy();|...Serve|
|000009d0| 72 50 69 6e 67 20 3d 20 | 4e 6f 6e 65 3b 0d 0a 0d |rPing = |None;...|
|000009e0| 0a 09 62 50 69 6e 67 69 | 6e 67 20 3d 20 46 61 6c |..bPingi|ng = Fal|
|000009f0| 73 65 3b 0d 0a 0d 0a 09 | 52 75 6c 65 73 4c 69 73 |se;.....|RulesLis|
|00000a00| 74 2e 53 6f 72 74 42 79 | 43 6f 6c 75 6d 6e 28 52 |t.SortBy|Column(R|
|00000a10| 75 6c 65 73 4c 69 73 74 | 2e 53 6f 72 74 43 6f 6c |ulesList|.SortCol|
|00000a20| 75 6d 6e 29 3b 0d 0a 09 | 50 6c 61 79 65 72 4c 69 |umn);...|PlayerLi|
|00000a30| 73 74 2e 53 6f 72 74 42 | 79 43 6f 6c 75 6d 6e 28 |st.SortB|yColumn(|
|00000a40| 50 6c 61 79 65 72 4c 69 | 73 74 2e 53 6f 72 74 43 |PlayerLi|st.SortC|
|00000a50| 6f 6c 75 6d 6e 29 3b 0d | 0a 7d 0d 0a 0d 0a 66 75 |olumn);.|.}....fu|
|00000a60| 6e 63 74 69 6f 6e 20 43 | 61 6e 63 65 6c 50 69 6e |nction C|ancelPin|
|00000a70| 67 28 29 0d 0a 7b 0d 0a | 09 69 66 28 62 50 69 6e |g()..{..|.if(bPin|
|00000a80| 67 69 6e 67 20 26 26 20 | 53 65 72 76 65 72 50 69 |ging && |ServerPi|
|00000a90| 6e 67 20 21 3d 20 4e 6f | 6e 65 20 26 26 20 53 65 |ng != No|ne && Se|
|00000aa0| 72 76 65 72 50 69 6e 67 | 2e 62 4a 75 73 74 54 68 |rverPing|.bJustTh|
|00000ab0| 69 73 53 65 72 76 65 72 | 29 0d 0a 09 09 50 69 6e |isServer|)....Pin|
|00000ac0| 67 44 6f 6e 65 28 46 61 | 6c 73 65 2c 20 54 72 75 |gDone(Fa|lse, Tru|
|00000ad0| 65 2c 20 46 61 6c 73 65 | 2c 20 54 72 75 65 29 3b |e, False|, True);|
|00000ae0| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|00000af0| 50 69 6e 67 44 6f 6e 65 | 28 62 6f 6f 6c 20 62 49 |PingDone|(bool bI|
|00000b00| 6e 69 74 69 61 6c 2c 20 | 62 6f 6f 6c 20 62 4a 75 |nitial, |bool bJu|
|00000b10| 73 74 54 68 69 73 53 65 | 72 76 65 72 2c 20 62 6f |stThisSe|rver, bo|
|00000b20| 6f 6c 20 62 53 75 63 63 | 65 73 73 2c 20 62 6f 6f |ol bSucc|ess, boo|
|00000b30| 6c 20 62 4e 6f 53 6f 72 | 74 29 0d 0a 7b 0d 0a 09 |l bNoSor|t)..{...|
|00000b40| 6c 6f 63 61 6c 20 55 42 | 72 6f 77 73 65 72 53 65 |local UB|rowserSe|
|00000b50| 72 76 65 72 4c 69 73 74 | 57 69 6e 64 6f 77 20 57 |rverList|Window W|
|00000b60| 3b 0d 0a 09 6c 6f 63 61 | 6c 20 55 42 72 6f 77 73 |;...loca|l UBrows|
|00000b70| 65 72 53 65 72 76 65 72 | 4c 69 73 74 20 4f 6c 64 |erServer|List Old|
|00000b80| 53 65 6e 74 69 6e 65 6c | 3b 0d 0a 0d 0a 09 2f 2f |Sentinel|;.....//|
|00000b90| 20 44 65 73 74 72 6f 79 | 20 74 68 65 20 55 64 70 | Destroy| the Udp|
|00000ba0| 4c 69 6e 6b 0d 0a 09 69 | 66 28 53 65 72 76 65 72 |Link...i|f(Server|
|00000bb0| 50 69 6e 67 20 21 3d 20 | 4e 6f 6e 65 29 0d 0a 09 |Ping != |None)...|
|00000bc0| 09 53 65 72 76 65 72 50 | 69 6e 67 2e 44 65 73 74 |.ServerP|ing.Dest|
|00000bd0| 72 6f 79 28 29 3b 0d 0a | 09 0d 0a 09 53 65 72 76 |roy();..|....Serv|
|00000be0| 65 72 50 69 6e 67 20 3d | 20 4e 6f 6e 65 3b 0d 0a |erPing =| None;..|
|00000bf0| 0d 0a 09 62 50 69 6e 67 | 69 6e 67 20 3d 20 46 61 |...bPing|ing = Fa|
|00000c00| 6c 73 65 3b 0d 0a 09 62 | 50 69 6e 67 46 61 69 6c |lse;...b|PingFail|
|00000c10| 65 64 20 3d 20 21 62 53 | 75 63 63 65 73 73 3b 0d |ed = !bS|uccess;.|
|00000c20| 0a 09 62 50 69 6e 67 65 | 64 20 3d 20 54 72 75 65 |..bPinge|d = True|
|00000c30| 3b 0d 0a 0d 0a 09 4f 6c | 64 53 65 6e 74 69 6e 65 |;.....Ol|dSentine|
|00000c40| 6c 20 3d 20 55 42 72 6f | 77 73 65 72 53 65 72 76 |l = UBro|wserServ|
|00000c50| 65 72 4c 69 73 74 28 53 | 65 6e 74 69 6e 65 6c 29 |erList(S|entinel)|
|00000c60| 3b 0d 0a 09 69 66 28 21 | 62 4e 6f 53 6f 72 74 29 |;...if(!|bNoSort)|
|00000c70| 0d 0a 09 7b 0d 0a 09 09 | 52 65 6d 6f 76 65 28 29 |...{....|Remove()|
|00000c80| 3b 0d 0a 0d 0a 09 09 2f | 2f 20 4d 6f 76 65 20 74 |;....../|/ Move t|
|00000c90| 6f 20 74 68 65 20 70 69 | 6e 67 20 6c 69 73 74 0d |o the pi|ng list.|
|00000ca0| 0a 09 09 69 66 28 21 62 | 50 69 6e 67 46 61 69 6c |...if(!b|PingFail|
|00000cb0| 65 64 20 7c 7c 20 28 4f | 6c 64 53 65 6e 74 69 6e |ed || (O|ldSentin|
|00000cc0| 65 6c 20 21 3d 20 4e 6f | 6e 65 20 26 26 20 4f 6c |el != No|ne && Ol|
|00000cd0| 64 53 65 6e 74 69 6e 65 | 6c 2e 4f 77 6e 65 72 20 |dSentine|l.Owner |
|00000ce0| 21 3d 20 4e 6f 6e 65 20 | 26 26 20 4f 6c 64 53 65 |!= None |&& OldSe|
|00000cf0| 6e 74 69 6e 65 6c 2e 4f | 77 6e 65 72 2e 62 53 68 |ntinel.O|wner.bSh|
|00000d00| 6f 77 46 61 69 6c 65 64 | 53 65 72 76 65 72 73 29 |owFailed|Servers)|
|00000d10| 29 0d 0a 09 09 7b 0d 0a | 09 09 09 69 66 28 4f 6c |)....{..|...if(Ol|
|00000d20| 64 53 65 6e 74 69 6e 65 | 6c 2e 4f 77 6e 65 72 2e |dSentine|l.Owner.|
|00000d30| 50 69 6e 67 65 64 4c 69 | 73 74 20 21 3d 20 4e 6f |PingedLi|st != No|
|00000d40| 6e 65 29 0d 0a 09 09 09 | 09 4f 6c 64 53 65 6e 74 |ne).....|.OldSent|
|00000d50| 69 6e 65 6c 2e 4f 77 6e | 65 72 2e 50 69 6e 67 65 |inel.Own|er.Pinge|
|00000d60| 64 4c 69 73 74 2e 41 70 | 70 65 6e 64 49 74 65 6d |dList.Ap|pendItem|
|00000d70| 28 53 65 6c 66 29 3b 0d | 0a 09 09 7d 0d 0a 09 7d |(Self);.|...}...}|
|00000d80| 0d 0a 09 65 6c 73 65 0d | 0a 09 7b 0d 0a 09 09 69 |...else.|..{....i|
|00000d90| 66 28 4f 6c 64 53 65 6e | 74 69 6e 65 6c 20 21 3d |f(OldSen|tinel !=|
|00000da0| 20 4e 6f 6e 65 20 26 26 | 20 4f 6c 64 53 65 6e 74 | None &&| OldSent|
|00000db0| 69 6e 65 6c 2e 4f 77 6e | 65 72 20 21 3d 20 4e 6f |inel.Own|er != No|
|00000dc0| 6e 65 20 26 26 20 4f 6c | 64 53 65 6e 74 69 6e 65 |ne && Ol|dSentine|
|00000dd0| 6c 20 21 3d 20 4f 6c 64 | 53 65 6e 74 69 6e 65 6c |l != Old|Sentinel|
|00000de0| 2e 4f 77 6e 65 72 2e 50 | 69 6e 67 65 64 4c 69 73 |.Owner.P|ingedLis|
|00000df0| 74 29 0d 0a 09 09 09 4c | 6f 67 28 22 55 6e 73 6f |t).....L|og("Unso|
|00000e00| 72 74 65 64 20 50 69 6e | 67 44 6f 6e 65 20 6c 6f |rted Pin|gDone lo|
|00000e10| 73 74 20 61 73 20 69 74 | 27 73 20 6e 6f 74 20 69 |st as it|'s not i|
|00000e20| 6e 20 70 69 6e 67 20 6c | 69 73 74 21 22 29 3b 0d |n ping l|ist!");.|
|00000e30| 0a 09 7d 0d 0a 0d 0a 09 | 69 66 28 53 65 6e 74 69 |..}.....|if(Senti|
|00000e40| 6e 65 6c 20 21 3d 20 4e | 6f 6e 65 29 0d 0a 09 7b |nel != N|one)...{|
|00000e50| 0d 0a 09 09 55 42 72 6f | 77 73 65 72 53 65 72 76 |....UBro|wserServ|
|00000e60| 65 72 4c 69 73 74 28 53 | 65 6e 74 69 6e 65 6c 29 |erList(S|entinel)|
|00000e70| 2e 62 4e 65 65 64 55 70 | 64 61 74 65 43 6f 75 6e |.bNeedUp|dateCoun|
|00000e80| 74 20 3d 20 54 72 75 65 | 3b 0d 0a 0d 0a 09 09 69 |t = True|;......i|
|00000e90| 66 28 62 49 6e 69 74 69 | 61 6c 29 0d 0a 09 09 09 |f(bIniti|al).....|
|00000ea0| 43 6f 6e 73 69 64 65 72 | 46 6f 72 53 75 62 73 65 |Consider|ForSubse|
|00000eb0| 74 73 28 29 3b 0d 0a 09 | 7d 0d 0a 0d 0a 09 69 66 |ts();...|}.....if|
|00000ec0| 28 21 62 4a 75 73 74 54 | 68 69 73 53 65 72 76 65 |(!bJustT|hisServe|
|00000ed0| 72 29 0d 0a 09 09 69 66 | 28 4f 6c 64 53 65 6e 74 |r)....if|(OldSent|
|00000ee0| 69 6e 65 6c 20 21 3d 20 | 4e 6f 6e 65 29 0d 0a 09 |inel != |None)...|
|00000ef0| 09 7b 0d 0a 09 09 09 57 | 20 3d 20 4f 6c 64 53 65 |.{.....W| = OldSe|
|00000f00| 6e 74 69 6e 65 6c 2e 4f | 77 6e 65 72 3b 0d 0a 0d |ntinel.O|wner;...|
|00000f10| 0a 09 09 09 69 66 28 57 | 2e 62 50 69 6e 67 53 75 |....if(W|.bPingSu|
|00000f20| 73 70 65 6e 64 29 0d 0a | 09 09 09 7b 0d 0a 09 09 |spend)..|...{....|
|00000f30| 09 09 57 2e 62 50 69 6e | 67 52 65 73 75 6d 65 20 |..W.bPin|gResume |
|00000f40| 3d 20 54 72 75 65 3b 0d | 0a 09 09 09 09 57 2e 62 |= True;.|.....W.b|
|00000f50| 50 69 6e 67 52 65 73 75 | 6d 65 49 6e 74 69 61 6c |PingResu|meIntial|
|00000f60| 20 3d 20 62 49 6e 69 74 | 69 61 6c 3b 0d 0a 09 09 | = bInit|ial;....|
|00000f70| 09 7d 0d 0a 09 09 09 65 | 6c 73 65 0d 0a 09 09 09 |.}.....e|lse.....|
|00000f80| 09 4f 6c 64 53 65 6e 74 | 69 6e 65 6c 2e 50 69 6e |.OldSent|inel.Pin|
|00000f90| 67 4e 65 78 74 28 62 49 | 6e 69 74 69 61 6c 2c 20 |gNext(bI|nitial, |
|00000fa0| 62 4e 6f 53 6f 72 74 29 | 3b 0d 0a 09 09 7d 0d 0a |bNoSort)|;....}..|
|00000fb0| 7d 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 43 6f |}....fun|ction Co|
|00000fc0| 6e 73 69 64 65 72 46 6f | 72 53 75 62 73 65 74 73 |nsiderFo|rSubsets|
|00000fd0| 28 29 0d 0a 7b 0d 0a 09 | 6c 6f 63 61 6c 20 55 42 |()..{...|local UB|
|00000fe0| 72 6f 77 73 65 72 53 75 | 62 73 65 74 4c 69 73 74 |rowserSu|bsetList|
|00000ff0| 20 6c 3b 0d 0a 0d 0a 09 | 66 6f 72 28 6c 20 3d 20 | l;.....|for(l = |
|00001000| 55 42 72 6f 77 73 65 72 | 53 75 62 73 65 74 4c 69 |UBrowser|SubsetLi|
|00001010| 73 74 28 55 42 72 6f 77 | 73 65 72 53 65 72 76 65 |st(UBrow|serServe|
|00001020| 72 4c 69 73 74 28 53 65 | 6e 74 69 6e 65 6c 29 2e |rList(Se|ntinel).|
|00001030| 4f 77 6e 65 72 2e 53 75 | 62 73 65 74 4c 69 73 74 |Owner.Su|bsetList|
|00001040| 2e 4e 65 78 74 29 3b 20 | 6c 20 21 3d 20 4e 6f 6e |.Next); |l != Non|
|00001050| 65 3b 20 6c 20 3d 20 55 | 42 72 6f 77 73 65 72 53 |e; l = U|BrowserS|
|00001060| 75 62 73 65 74 4c 69 73 | 74 28 6c 2e 4e 65 78 74 |ubsetLis|t(l.Next|
|00001070| 29 29 0d 0a 09 7b 0d 0a | 09 09 6c 2e 53 75 62 73 |))...{..|..l.Subs|
|00001080| 65 74 46 61 63 74 6f 72 | 79 2e 43 6f 6e 73 69 64 |etFactor|y.Consid|
|00001090| 65 72 49 74 65 6d 28 53 | 65 6c 66 29 3b 0d 0a 09 |erItem(S|elf);...|
|000010a0| 7d 0d 0a 7d 0d 0a 0d 0a | 2f 2f 20 46 75 6e 63 74 |}..}....|// Funct|
|000010b0| 69 6f 6e 73 20 66 6f 72 | 20 73 65 6e 74 69 6e 65 |ions for| sentine|
|000010c0| 6c 20 6f 6e 6c 79 0d 0a | 0d 0a 66 75 6e 63 74 69 |l only..|..functi|
|000010d0| 6f 6e 20 49 6e 76 61 6c | 69 64 61 74 65 50 69 6e |on Inval|idatePin|
|000010e0| 67 73 28 29 0d 0a 7b 0d | 0a 09 6c 6f 63 61 6c 20 |gs()..{.|..local |
|000010f0| 55 42 72 6f 77 73 65 72 | 53 65 72 76 65 72 4c 69 |UBrowser|ServerLi|
|00001100| 73 74 20 6c 3b 0d 0a 0d | 0a 09 66 6f 72 28 6c 20 |st l;...|..for(l |
|00001110| 3d 20 55 42 72 6f 77 73 | 65 72 53 65 72 76 65 72 |= UBrows|erServer|
|00001120| 4c 69 73 74 28 4e 65 78 | 74 29 3b 6c 20 21 3d 20 |List(Nex|t);l != |
|00001130| 4e 6f 6e 65 3b 6c 20 3d | 20 55 42 72 6f 77 73 65 |None;l =| UBrowse|
|00001140| 72 53 65 72 76 65 72 4c | 69 73 74 28 6c 2e 4e 65 |rServerL|ist(l.Ne|
|00001150| 78 74 29 29 20 0d 0a 09 | 09 6c 2e 50 69 6e 67 20 |xt)) ...|.l.Ping |
|00001160| 3d 20 39 39 39 39 3b 0d | 0a 7d 0d 0a 0d 0a 66 75 |= 9999;.|.}....fu|
|00001170| 6e 63 74 69 6f 6e 20 50 | 69 6e 67 53 65 72 76 65 |nction P|ingServe|
|00001180| 72 73 28 62 6f 6f 6c 20 | 62 49 6e 69 74 69 61 6c |rs(bool |bInitial|
|00001190| 2c 20 62 6f 6f 6c 20 62 | 4e 6f 53 6f 72 74 29 0d |, bool b|NoSort).|
|000011a0| 0a 7b 0d 0a 09 6c 6f 63 | 61 6c 20 55 42 72 6f 77 |.{...loc|al UBrow|
|000011b0| 73 65 72 53 65 72 76 65 | 72 4c 69 73 74 20 6c 3b |serServe|rList l;|
|000011c0| 0d 0a 09 0d 0a 09 62 50 | 69 6e 67 69 6e 67 20 3d |......bP|inging =|
|000011d0| 20 46 61 6c 73 65 3b 0d | 0a 0d 0a 09 66 6f 72 28 | False;.|....for(|
|000011e0| 6c 20 3d 20 55 42 72 6f | 77 73 65 72 53 65 72 76 |l = UBro|wserServ|
|000011f0| 65 72 4c 69 73 74 28 4e | 65 78 74 29 3b 6c 20 21 |erList(N|ext);l !|
|00001200| 3d 20 4e 6f 6e 65 3b 6c | 20 3d 20 55 42 72 6f 77 |= None;l| = UBrow|
|00001210| 73 65 72 53 65 72 76 65 | 72 4c 69 73 74 28 6c 2e |serServe|rList(l.|
|00001220| 4e 65 78 74 29 29 20 0d | 0a 09 7b 0d 0a 09 09 6c |Next)) .|..{....l|
|00001230| 2e 62 50 69 6e 67 69 6e | 67 20 3d 20 46 61 6c 73 |.bPingin|g = Fals|
|00001240| 65 3b 0d 0a 09 09 6c 2e | 62 50 69 6e 67 46 61 69 |e;....l.|bPingFai|
|00001250| 6c 65 64 20 3d 20 46 61 | 6c 73 65 3b 0d 0a 09 09 |led = Fa|lse;....|
|00001260| 6c 2e 62 50 69 6e 67 65 | 64 20 3d 20 46 61 6c 73 |l.bPinge|d = Fals|
|00001270| 65 3b 0d 0a 09 7d 0d 0a | 0d 0a 09 50 69 6e 67 4e |e;...}..|...PingN|
|00001280| 65 78 74 28 62 49 6e 69 | 74 69 61 6c 2c 20 62 4e |ext(bIni|tial, bN|
|00001290| 6f 53 6f 72 74 29 3b 0d | 0a 7d 0d 0a 0d 0a 66 75 |oSort);.|.}....fu|
|000012a0| 6e 63 74 69 6f 6e 20 50 | 69 6e 67 4e 65 78 74 28 |nction P|ingNext(|
|000012b0| 62 6f 6f 6c 20 62 49 6e | 69 74 69 61 6c 2c 20 62 |bool bIn|itial, b|
|000012c0| 6f 6f 6c 20 62 4e 6f 53 | 6f 72 74 29 0d 0a 7b 0d |ool bNoS|ort)..{.|
|000012d0| 0a 09 6c 6f 63 61 6c 20 | 69 6e 74 20 54 6f 74 61 |..local |int Tota|
|000012e0| 6c 50 69 6e 67 69 6e 67 | 3b 0d 0a 09 6c 6f 63 61 |lPinging|;...loca|
|000012f0| 6c 20 55 42 72 6f 77 73 | 65 72 53 65 72 76 65 72 |l UBrows|erServer|
|00001300| 4c 69 73 74 20 6c 3b 0d | 0a 09 6c 6f 63 61 6c 20 |List l;.|..local |
|00001310| 62 6f 6f 6c 20 62 44 6f | 6e 65 3b 0d 0a 09 0d 0a |bool bDo|ne;.....|
|00001320| 09 54 6f 74 61 6c 50 69 | 6e 67 69 6e 67 20 3d 20 |.TotalPi|nging = |
|00001330| 30 3b 0d 0a 09 0d 0a 09 | 62 44 6f 6e 65 20 3d 20 |0;......|bDone = |
|00001340| 54 72 75 65 3b 0d 0a 09 | 66 6f 72 28 6c 20 3d 20 |True;...|for(l = |
|00001350| 55 42 72 6f 77 73 65 72 | 53 65 72 76 65 72 4c 69 |UBrowser|ServerLi|
|00001360| 73 74 28 4e 65 78 74 29 | 3b 6c 20 21 3d 20 4e 6f |st(Next)|;l != No|
|00001370| 6e 65 3b 6c 20 3d 20 55 | 42 72 6f 77 73 65 72 53 |ne;l = U|BrowserS|
|00001380| 65 72 76 65 72 4c 69 73 | 74 28 6c 2e 4e 65 78 74 |erverLis|t(l.Next|
|00001390| 29 29 20 0d 0a 09 7b 0d | 0a 09 09 69 66 28 21 6c |)) ...{.|...if(!l|
|000013a0| 2e 62 50 69 6e 67 65 64 | 29 0d 0a 09 09 09 62 44 |.bPinged|).....bD|
|000013b0| 6f 6e 65 20 3d 20 46 61 | 6c 73 65 3b 0d 0a 09 09 |one = Fa|lse;....|
|000013c0| 69 66 28 6c 2e 62 50 69 | 6e 67 69 6e 67 29 0d 0a |if(l.bPi|nging)..|
|000013d0| 09 09 09 54 6f 74 61 6c | 50 69 6e 67 69 6e 67 20 |...Total|Pinging |
|000013e0| 2b 2b 3b 0d 0a 09 7d 0d | 0a 09 0d 0a 09 69 66 28 |++;...}.|.....if(|
|000013f0| 62 44 6f 6e 65 20 26 26 | 20 4f 77 6e 65 72 20 21 |bDone &&| Owner !|
|00001400| 3d 20 4e 6f 6e 65 29 0d | 0a 09 7b 0d 0a 09 09 62 |= None).|..{....b|
|00001410| 50 69 6e 67 69 6e 67 20 | 3d 20 46 61 6c 73 65 3b |Pinging |= False;|
|00001420| 0d 0a 09 09 4f 77 6e 65 | 72 2e 50 69 6e 67 46 69 |....Owne|r.PingFi|
|00001430| 6e 69 73 68 65 64 28 29 | 3b 0d 0a 09 7d 0d 0a 09 |nished()|;...}...|
|00001440| 65 6c 73 65 0d 0a 09 69 | 66 28 54 6f 74 61 6c 50 |else...i|f(TotalP|
|00001450| 69 6e 67 69 6e 67 20 3c | 20 4d 61 78 53 69 6d 75 |inging <| MaxSimu|
|00001460| 6c 74 61 6e 65 6f 75 73 | 50 69 6e 67 29 0d 0a 09 |ltaneous|Ping)...|
|00001470| 7b 0d 0a 09 09 66 6f 72 | 28 6c 20 3d 20 55 42 72 |{....for|(l = UBr|
|00001480| 6f 77 73 65 72 53 65 72 | 76 65 72 4c 69 73 74 28 |owserSer|verList(|
|00001490| 4e 65 78 74 29 3b 6c 20 | 21 3d 20 4e 6f 6e 65 3b |Next);l |!= None;|
|000014a0| 6c 20 3d 20 55 42 72 6f | 77 73 65 72 53 65 72 76 |l = UBro|wserServ|
|000014b0| 65 72 4c 69 73 74 28 6c | 2e 4e 65 78 74 29 29 0d |erList(l|.Next)).|
|000014c0| 0a 09 09 7b 0d 0a 09 09 | 09 69 66 28 09 09 21 6c |...{....|.if(..!l|
|000014d0| 2e 62 50 69 6e 67 69 6e | 67 20 0d 0a 09 09 09 09 |.bPingin|g ......|
|000014e0| 26 26 09 21 6c 2e 62 50 | 69 6e 67 65 64 20 0d 0a |&&.!l.bP|inged ..|
|000014f0| 09 09 09 09 26 26 09 28 | 21 62 49 6e 69 74 69 61 |....&&.(|!bInitia|
|00001500| 6c 20 7c 7c 20 21 6c 2e | 62 4e 6f 49 6e 69 74 61 |l || !l.|bNoInita|
|00001510| 6c 50 69 6e 67 29 0d 0a | 09 09 09 09 26 26 09 54 |lPing)..|....&&.T|
|00001520| 6f 74 61 6c 50 69 6e 67 | 69 6e 67 20 3c 20 4d 61 |otalPing|ing < Ma|
|00001530| 78 53 69 6d 75 6c 74 61 | 6e 65 6f 75 73 50 69 6e |xSimulta|neousPin|
|00001540| 67 0d 0a 09 09 09 29 0d | 0a 09 09 09 7b 0d 0a 09 |g.....).|....{...|
|00001550| 09 09 09 54 6f 74 61 6c | 50 69 6e 67 69 6e 67 20 |...Total|Pinging |
|00001560| 2b 2b 3b 09 09 0d 0a 09 | 09 09 09 6c 2e 50 69 6e |++;.....|...l.Pin|
|00001570| 67 53 65 72 76 65 72 28 | 62 49 6e 69 74 69 61 6c |gServer(|bInitial|
|00001580| 2c 20 46 61 6c 73 65 2c | 20 62 4e 6f 53 6f 72 74 |, False,| bNoSort|
|00001590| 29 3b 0d 0a 09 09 09 7d | 0d 0a 0d 0a 09 09 09 69 |);.....}|.......i|
|000015a0| 66 28 54 6f 74 61 6c 50 | 69 6e 67 69 6e 67 20 3e |f(TotalP|inging >|
|000015b0| 3d 20 4d 61 78 53 69 6d | 75 6c 74 61 6e 65 6f 75 |= MaxSim|ultaneou|
|000015c0| 73 50 69 6e 67 29 0d 0a | 09 09 09 09 62 72 65 61 |sPing)..|....brea|
|000015d0| 6b 3b 0d 0a 09 09 7d 0d | 0a 09 7d 0d 0a 7d 0d 0a |k;....}.|..}..}..|
|000015e0| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 55 42 72 6f 77 |..functi|on UBrow|
|000015f0| 73 65 72 53 65 72 76 65 | 72 4c 69 73 74 20 46 69 |serServe|rList Fi|
|00001600| 6e 64 45 78 69 73 74 69 | 6e 67 53 65 72 76 65 72 |ndExisti|ngServer|
|00001610| 28 73 74 72 69 6e 67 20 | 46 69 6e 64 49 50 2c 20 |(string |FindIP, |
|00001620| 69 6e 74 20 46 69 6e 64 | 51 75 65 72 79 50 6f 72 |int Find|QueryPor|
|00001630| 74 29 0d 0a 7b 0d 0a 09 | 6c 6f 63 61 6c 20 55 57 |t)..{...|local UW|
|00001640| 69 6e 64 6f 77 4c 69 73 | 74 20 6c 3b 0d 0a 0d 0a |indowLis|t l;....|
|00001650| 09 66 6f 72 28 6c 20 3d | 20 4e 65 78 74 3b 6c 20 |.for(l =| Next;l |
|00001660| 21 3d 20 4e 6f 6e 65 3b | 6c 20 3d 20 6c 2e 4e 65 |!= None;|l = l.Ne|
|00001670| 78 74 29 0d 0a 09 7b 0d | 0a 09 09 69 66 28 55 42 |xt)...{.|...if(UB|
|00001680| 72 6f 77 73 65 72 53 65 | 72 76 65 72 4c 69 73 74 |rowserSe|rverList|
|00001690| 28 6c 29 2e 49 50 20 3d | 3d 20 46 69 6e 64 49 50 |(l).IP =|= FindIP|
|000016a0| 20 26 26 20 55 42 72 6f | 77 73 65 72 53 65 72 76 | && UBro|wserServ|
|000016b0| 65 72 4c 69 73 74 28 6c | 29 2e 51 75 65 72 79 50 |erList(l|).QueryP|
|000016c0| 6f 72 74 20 3d 3d 20 46 | 69 6e 64 51 75 65 72 79 |ort == F|indQuery|
|000016d0| 50 6f 72 74 29 0d 0a 09 | 09 09 72 65 74 75 72 6e |Port)...|..return|
|000016e0| 20 55 42 72 6f 77 73 65 | 72 53 65 72 76 65 72 4c | UBrowse|rServerL|
|000016f0| 69 73 74 28 6c 29 3b 0d | 0a 09 7d 0d 0a 09 72 65 |ist(l);.|..}...re|
|00001700| 74 75 72 6e 20 4e 6f 6e | 65 3b 0d 0a 7d 0d 0a 0d |turn Non|e;..}...|
|00001710| 0a 66 75 6e 63 74 69 6f | 6e 20 50 6c 61 79 65 72 |.functio|n Player|
|00001720| 50 61 77 6e 20 47 65 74 | 50 6c 61 79 65 72 4f 77 |Pawn Get|PlayerOw|
|00001730| 6e 65 72 28 29 0d 0a 7b | 0d 0a 09 72 65 74 75 72 |ner()..{|...retur|
|00001740| 6e 20 55 42 72 6f 77 73 | 65 72 53 65 72 76 65 72 |n UBrows|erServer|
|00001750| 4c 69 73 74 28 53 65 6e | 74 69 6e 65 6c 29 2e 4f |List(Sen|tinel).O|
|00001760| 77 6e 65 72 2e 47 65 74 | 50 6c 61 79 65 72 4f 77 |wner.Get|PlayerOw|
|00001770| 6e 65 72 28 29 3b 0d 0a | 7d 0d 0a 0d 0a 66 75 6e |ner();..|}....fun|
|00001780| 63 74 69 6f 6e 20 55 57 | 69 6e 64 6f 77 4c 69 73 |ction UW|indowLis|
|00001790| 74 20 43 6f 70 79 45 78 | 69 73 74 69 6e 67 4c 69 |t CopyEx|istingLi|
|000017a0| 73 74 49 74 65 6d 28 43 | 6c 61 73 73 3c 55 57 69 |stItem(C|lass<UWi|
|000017b0| 6e 64 6f 77 4c 69 73 74 | 3e 20 49 74 65 6d 43 6c |ndowList|> ItemCl|
|000017c0| 61 73 73 2c 20 55 57 69 | 6e 64 6f 77 4c 69 73 74 |ass, UWi|ndowList|
|000017d0| 20 53 6f 75 72 63 65 49 | 74 65 6d 29 0d 0a 7b 0d | SourceI|tem)..{.|
|000017e0| 0a 09 6c 6f 63 61 6c 20 | 55 42 72 6f 77 73 65 72 |..local |UBrowser|
|000017f0| 53 65 72 76 65 72 4c 69 | 73 74 20 4c 3b 0d 0a 0d |ServerLi|st L;...|
|00001800| 0a 09 4c 20 3d 20 55 42 | 72 6f 77 73 65 72 53 65 |..L = UB|rowserSe|
|00001810| 72 76 65 72 4c 69 73 74 | 28 53 75 70 65 72 2e 43 |rverList|(Super.C|
|00001820| 6f 70 79 45 78 69 73 74 | 69 6e 67 4c 69 73 74 49 |opyExist|ingListI|
|00001830| 74 65 6d 28 49 74 65 6d | 43 6c 61 73 73 2c 20 53 |tem(Item|Class, S|
|00001840| 6f 75 72 63 65 49 74 65 | 6d 29 29 3b 0d 0a 0d 0a |ourceIte|m));....|
|00001850| 09 4c 2e 62 4c 6f 63 61 | 6c 53 65 72 76 65 72 09 |.L.bLoca|lServer.|
|00001860| 3d 20 55 42 72 6f 77 73 | 65 72 53 65 72 76 65 72 |= UBrows|erServer|
|00001870| 4c 69 73 74 28 53 6f 75 | 72 63 65 49 74 65 6d 29 |List(Sou|rceItem)|
|00001880| 2e 62 4c 6f 63 61 6c 53 | 65 72 76 65 72 3b 0d 0a |.bLocalS|erver;..|
|00001890| 09 4c 2e 49 50 09 09 09 | 3d 20 55 42 72 6f 77 73 |.L.IP...|= UBrows|
|000018a0| 65 72 53 65 72 76 65 72 | 4c 69 73 74 28 53 6f 75 |erServer|List(Sou|
|000018b0| 72 63 65 49 74 65 6d 29 | 2e 49 50 3b 0d 0a 09 4c |rceItem)|.IP;...L|
|000018c0| 2e 51 75 65 72 79 50 6f | 72 74 09 09 3d 20 55 42 |.QueryPo|rt..= UB|
|000018d0| 72 6f 77 73 65 72 53 65 | 72 76 65 72 4c 69 73 74 |rowserSe|rverList|
|000018e0| 28 53 6f 75 72 63 65 49 | 74 65 6d 29 2e 51 75 65 |(SourceI|tem).Que|
|000018f0| 72 79 50 6f 72 74 3b 0d | 0a 09 4c 2e 50 69 6e 67 |ryPort;.|..L.Ping|
|00001900| 09 09 09 3d 20 55 42 72 | 6f 77 73 65 72 53 65 72 |...= UBr|owserSer|
|00001910| 76 65 72 4c 69 73 74 28 | 53 6f 75 72 63 65 49 74 |verList(|SourceIt|
|00001920| 65 6d 29 2e 50 69 6e 67 | 3b 0d 0a 09 4c 2e 48 6f |em).Ping|;...L.Ho|
|00001930| 73 74 4e 61 6d 65 09 09 | 3d 20 55 42 72 6f 77 73 |stName..|= UBrows|
|00001940| 65 72 53 65 72 76 65 72 | 4c 69 73 74 28 53 6f 75 |erServer|List(Sou|
|00001950| 72 63 65 49 74 65 6d 29 | 2e 48 6f 73 74 4e 61 6d |rceItem)|.HostNam|
|00001960| 65 3b 0d 0a 09 4c 2e 47 | 61 6d 65 50 6f 72 74 09 |e;...L.G|amePort.|
|00001970| 09 3d 20 55 42 72 6f 77 | 73 65 72 53 65 72 76 65 |.= UBrow|serServe|
|00001980| 72 4c 69 73 74 28 53 6f | 75 72 63 65 49 74 65 6d |rList(So|urceItem|
|00001990| 29 2e 47 61 6d 65 50 6f | 72 74 3b 0d 0a 09 4c 2e |).GamePo|rt;...L.|
|000019a0| 4d 61 70 4e 61 6d 65 09 | 09 3d 20 55 42 72 6f 77 |MapName.|.= UBrow|
|000019b0| 73 65 72 53 65 72 76 65 | 72 4c 69 73 74 28 53 6f |serServe|rList(So|
|000019c0| 75 72 63 65 49 74 65 6d | 29 2e 4d 61 70 4e 61 6d |urceItem|).MapNam|
|000019d0| 65 3b 0d 0a 09 4c 2e 4d | 61 70 54 69 74 6c 65 09 |e;...L.M|apTitle.|
|000019e0| 09 3d 20 55 42 72 6f 77 | 73 65 72 53 65 72 76 65 |.= UBrow|serServe|
|000019f0| 72 4c 69 73 74 28 53 6f | 75 72 63 65 49 74 65 6d |rList(So|urceItem|
|00001a00| 29 2e 4d 61 70 54 69 74 | 6c 65 3b 0d 0a 09 4c 2e |).MapTit|le;...L.|
|00001a10| 4d 61 70 44 69 73 70 6c | 61 79 4e 61 6d 65 3d 20 |MapDispl|ayName= |
|00001a20| 55 42 72 6f 77 73 65 72 | 53 65 72 76 65 72 4c 69 |UBrowser|ServerLi|
|00001a30| 73 74 28 53 6f 75 72 63 | 65 49 74 65 6d 29 2e 4d |st(Sourc|eItem).M|
|00001a40| 61 70 44 69 73 70 6c 61 | 79 4e 61 6d 65 3b 0d 0a |apDispla|yName;..|
|00001a50| 09 4c 2e 4d 61 70 4e 61 | 6d 65 09 09 3d 20 55 42 |.L.MapNa|me..= UB|
|00001a60| 72 6f 77 73 65 72 53 65 | 72 76 65 72 4c 69 73 74 |rowserSe|rverList|
|00001a70| 28 53 6f 75 72 63 65 49 | 74 65 6d 29 2e 4d 61 70 |(SourceI|tem).Map|
|00001a80| 4e 61 6d 65 3b 0d 0a 09 | 4c 2e 47 61 6d 65 54 79 |Name;...|L.GameTy|
|00001a90| 70 65 09 09 3d 20 55 42 | 72 6f 77 73 65 72 53 65 |pe..= UB|rowserSe|
|00001aa0| 72 76 65 72 4c 69 73 74 | 28 53 6f 75 72 63 65 49 |rverList|(SourceI|
|00001ab0| 74 65 6d 29 2e 47 61 6d | 65 54 79 70 65 3b 0d 0a |tem).Gam|eType;..|
|00001ac0| 09 4c 2e 47 61 6d 65 4d | 6f 64 65 09 09 3d 20 55 |.L.GameM|ode..= U|
|00001ad0| 42 72 6f 77 73 65 72 53 | 65 72 76 65 72 4c 69 73 |BrowserS|erverLis|
|00001ae0| 74 28 53 6f 75 72 63 65 | 49 74 65 6d 29 2e 47 61 |t(Source|Item).Ga|
|00001af0| 6d 65 4d 6f 64 65 3b 0d | 0a 09 4c 2e 4e 75 6d 50 |meMode;.|..L.NumP|
|00001b00| 6c 61 79 65 72 73 09 3d | 20 55 42 72 6f 77 73 65 |layers.=| UBrowse|
|00001b10| 72 53 65 72 76 65 72 4c | 69 73 74 28 53 6f 75 72 |rServerL|ist(Sour|
|00001b20| 63 65 49 74 65 6d 29 2e | 4e 75 6d 50 6c 61 79 65 |ceItem).|NumPlaye|
|00001b30| 72 73 3b 0d 0a 09 4c 2e | 4d 61 78 50 6c 61 79 65 |rs;...L.|MaxPlaye|
|00001b40| 72 73 09 3d 20 55 42 72 | 6f 77 73 65 72 53 65 72 |rs.= UBr|owserSer|
|00001b50| 76 65 72 4c 69 73 74 28 | 53 6f 75 72 63 65 49 74 |verList(|SourceIt|
|00001b60| 65 6d 29 2e 4d 61 78 50 | 6c 61 79 65 72 73 3b 0d |em).MaxP|layers;.|
|00001b70| 0a 09 4c 2e 47 61 6d 65 | 56 65 72 09 09 3d 20 55 |..L.Game|Ver..= U|
|00001b80| 42 72 6f 77 73 65 72 53 | 65 72 76 65 72 4c 69 73 |BrowserS|erverLis|
|00001b90| 74 28 53 6f 75 72 63 65 | 49 74 65 6d 29 2e 47 61 |t(Source|Item).Ga|
|00001ba0| 6d 65 56 65 72 3b 0d 0a | 09 4c 2e 4d 69 6e 4e 65 |meVer;..|.L.MinNe|
|00001bb0| 74 56 65 72 09 09 3d 20 | 55 42 72 6f 77 73 65 72 |tVer..= |UBrowser|
|00001bc0| 53 65 72 76 65 72 4c 69 | 73 74 28 53 6f 75 72 63 |ServerLi|st(Sourc|
|00001bd0| 65 49 74 65 6d 29 2e 4d | 69 6e 4e 65 74 56 65 72 |eItem).M|inNetVer|
|00001be0| 3b 0d 0a 09 4c 2e 62 4b | 65 65 70 44 65 73 63 72 |;...L.bK|eepDescr|
|00001bf0| 69 70 74 69 6f 6e 20 3d | 20 55 42 72 6f 77 73 65 |iption =| UBrowse|
|00001c00| 72 53 65 72 76 65 72 4c | 69 73 74 28 53 6f 75 72 |rServerL|ist(Sour|
|00001c10| 63 65 49 74 65 6d 29 2e | 62 4b 65 65 70 44 65 73 |ceItem).|bKeepDes|
|00001c20| 63 72 69 70 74 69 6f 6e | 3b 0d 0a 0d 0a 09 72 65 |cription|;.....re|
|00001c30| 74 75 72 6e 20 4c 3b 0d | 0a 7d 0d 0a 0d 0a 66 75 |turn L;.|.}....fu|
|00001c40| 6e 63 74 69 6f 6e 20 69 | 6e 74 20 43 6f 6d 70 61 |nction i|nt Compa|
|00001c50| 72 65 28 55 57 69 6e 64 | 6f 77 4c 69 73 74 20 54 |re(UWind|owList T|
|00001c60| 2c 20 55 57 69 6e 64 6f | 77 4c 69 73 74 20 42 29 |, UWindo|wList B)|
|00001c70| 0d 0a 7b 0d 0a 09 43 6f | 6d 70 61 72 65 43 6f 75 |..{...Co|mpareCou|
|00001c80| 6e 74 2b 2b 3b 0d 0a 09 | 72 65 74 75 72 6e 20 55 |nt++;...|return U|
|00001c90| 42 72 6f 77 73 65 72 53 | 65 72 76 65 72 4c 69 73 |BrowserS|erverLis|
|00001ca0| 74 28 53 65 6e 74 69 6e | 65 6c 29 2e 4f 77 6e 65 |t(Sentin|el).Owne|
|00001cb0| 72 2e 47 72 69 64 2e 43 | 6f 6d 70 61 72 65 28 55 |r.Grid.C|ompare(U|
|00001cc0| 42 72 6f 77 73 65 72 53 | 65 72 76 65 72 4c 69 73 |BrowserS|erverLis|
|00001cd0| 74 28 54 29 2c 20 55 42 | 72 6f 77 73 65 72 53 65 |t(T), UB|rowserSe|
|00001ce0| 72 76 65 72 4c 69 73 74 | 28 42 29 29 3b 0d 0a 7d |rverList|(B));..}|
|00001cf0| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 41 70 70 |....func|tion App|
|00001d00| 65 6e 64 49 74 65 6d 28 | 55 57 69 6e 64 6f 77 4c |endItem(|UWindowL|
|00001d10| 69 73 74 20 4c 29 0d 0a | 7b 0d 0a 09 53 75 70 65 |ist L)..|{...Supe|
|00001d20| 72 2e 41 70 70 65 6e 64 | 49 74 65 6d 28 4c 29 3b |r.Append|Item(L);|
|00001d30| 0d 0a 09 55 42 72 6f 77 | 73 65 72 53 65 72 76 65 |...UBrow|serServe|
|00001d40| 72 4c 69 73 74 28 53 65 | 6e 74 69 6e 65 6c 29 2e |rList(Se|ntinel).|
|00001d50| 62 4e 65 65 64 55 70 64 | 61 74 65 43 6f 75 6e 74 |bNeedUpd|ateCount|
|00001d60| 20 3d 20 54 72 75 65 3b | 0d 0a 7d 0d 0a 0d 0a 66 | = True;|..}....f|
|00001d70| 75 6e 63 74 69 6f 6e 20 | 52 65 6d 6f 76 65 28 29 |unction |Remove()|
|00001d80| 0d 0a 7b 0d 0a 09 6c 6f | 63 61 6c 20 55 42 72 6f |..{...lo|cal UBro|
|00001d90| 77 73 65 72 53 65 72 76 | 65 72 4c 69 73 74 20 53 |wserServ|erList S|
|00001da0| 3b 0d 0a 0d 0a 09 53 20 | 3d 20 55 42 72 6f 77 73 |;.....S |= UBrows|
|00001db0| 65 72 53 65 72 76 65 72 | 4c 69 73 74 28 53 65 6e |erServer|List(Sen|
|00001dc0| 74 69 6e 65 6c 29 3b 0d | 0a 09 53 75 70 65 72 2e |tinel);.|..Super.|
|00001dd0| 52 65 6d 6f 76 65 28 29 | 3b 0d 0a 0d 0a 09 69 66 |Remove()|;.....if|
|00001de0| 28 53 20 21 3d 20 4e 6f | 6e 65 29 0d 0a 09 09 53 |(S != No|ne)....S|
|00001df0| 2e 62 4e 65 65 64 55 70 | 64 61 74 65 43 6f 75 6e |.bNeedUp|dateCoun|
|00001e00| 74 20 3d 20 54 72 75 65 | 3b 0d 0a 7d 0d 0a 0d 0a |t = True|;..}....|
|00001e10| 2f 2f 20 53 65 6e 74 69 | 6e 65 6c 20 6f 6e 6c 79 |// Senti|nel only|
|00001e20| 0d 0a 2f 2f 20 46 49 58 | 4d 45 3a 20 73 6c 6f 77 |..// FIX|ME: slow|
|00001e30| 20 77 68 65 6e 20 6c 6f | 74 73 20 6f 66 20 73 65 | when lo|ts of se|
|00001e40| 72 76 65 72 73 21 21 0d | 0a 66 75 6e 63 74 69 6f |rvers!!.|.functio|
|00001e50| 6e 20 55 70 64 61 74 65 | 53 65 72 76 65 72 43 6f |n Update|ServerCo|
|00001e60| 75 6e 74 28 29 0d 0a 7b | 0d 0a 09 6c 6f 63 61 6c |unt()..{|...local|
|00001e70| 20 55 42 72 6f 77 73 65 | 72 53 65 72 76 65 72 4c | UBrowse|rServerL|
|00001e80| 69 73 74 20 6c 3b 0d 0a | 0d 0a 09 54 6f 74 61 6c |ist l;..|...Total|
|00001e90| 53 65 72 76 65 72 73 20 | 3d 20 30 3b 0d 0a 09 54 |Servers |= 0;...T|
|00001ea0| 6f 74 61 6c 50 6c 61 79 | 65 72 73 20 3d 20 30 3b |otalPlay|ers = 0;|
|00001eb0| 0d 0a 09 54 6f 74 61 6c | 4d 61 78 50 6c 61 79 65 |...Total|MaxPlaye|
|00001ec0| 72 73 20 3d 20 30 3b 0d | 0a 0d 0a 09 66 6f 72 28 |rs = 0;.|....for(|
|00001ed0| 6c 20 3d 20 55 42 72 6f | 77 73 65 72 53 65 72 76 |l = UBro|wserServ|
|00001ee0| 65 72 4c 69 73 74 28 4e | 65 78 74 29 3b 6c 20 21 |erList(N|ext);l !|
|00001ef0| 3d 20 4e 6f 6e 65 3b 6c | 20 3d 20 55 42 72 6f 77 |= None;l| = UBrow|
|00001f00| 73 65 72 53 65 72 76 65 | 72 4c 69 73 74 28 6c 2e |serServe|rList(l.|
|00001f10| 4e 65 78 74 29 29 0d 0a | 09 7b 0d 0a 09 09 54 6f |Next))..|.{....To|
|00001f20| 74 61 6c 53 65 72 76 65 | 72 73 2b 2b 3b 0d 0a 09 |talServe|rs++;...|
|00001f30| 09 54 6f 74 61 6c 50 6c | 61 79 65 72 73 20 2b 3d |.TotalPl|ayers +=|
|00001f40| 20 6c 2e 4e 75 6d 50 6c | 61 79 65 72 73 3b 0d 0a | l.NumPl|ayers;..|
|00001f50| 09 09 54 6f 74 61 6c 4d | 61 78 50 6c 61 79 65 72 |..TotalM|axPlayer|
|00001f60| 73 20 2b 3d 20 6c 2e 4d | 61 78 50 6c 61 79 65 72 |s += l.M|axPlayer|
|00001f70| 73 3b 0d 0a 09 7d 0d 0a | 7d 0d 0a 0d 0a 66 75 6e |s;...}..|}....fun|
|00001f80| 63 74 69 6f 6e 20 62 6f | 6f 6c 20 44 65 63 6f 64 |ction bo|ol Decod|
|00001f90| 65 53 65 72 76 65 72 50 | 72 6f 70 65 72 74 69 65 |eServerP|ropertie|
|00001fa0| 73 28 73 74 72 69 6e 67 | 20 44 61 74 61 29 0d 0a |s(string| Data)..|
|00001fb0| 7b 0d 0a 09 72 65 74 75 | 72 6e 20 54 72 75 65 3b |{...retu|rn True;|
|00001fc0| 0d 0a 7d 0d 0a 0d 0a 0d | 0a 00 |..}.....|.. |
+--------+-------------------------+-------------------------+--------+--------+